Related Vulnerabilities: CVE-2021-3583  

A security issue was found in Ansible, where a user's controller is vulnerable to template injection. This issue can occur through facts used in the template if the user is trying to put templates in multi-line YAML strings and the facts being handled do not routinely include special template characters. This flaw allows attackers to perform command injection, which discloses sensitive information.

Severity Medium

Remote Yes

Type Arbitrary command execution

Description

A security issue was found in Ansible, where a user's controller is vulnerable to template injection. This issue can occur through facts used in the template if the user is trying to put templates in multi-line YAML strings and the facts being handled do not routinely include special template characters. This flaw allows attackers to perform command injection, which discloses sensitive information.

AVG-1941 ansible 4.0.0-1 Medium Vulnerable

https://bugzilla.redhat.com/show_bug.cgi?id=1968412